import {Loading,MessageBox,Notification,Message,Button,Input,Select,Dialog,Menu,Submenu,MenuItem,MenuItemGroup,Card} from 'element-ui'
export default (Vue)=>{
    Vue.use(Button);
    Vue.use(Input);
    Vue.use(Select);
    Vue.use(Dialog);
    Vue.use(Menu);
    Vue.use(Submenu);
    Vue.use(MenuItem);
    Vue.use(MenuItemGroup);
    Vue.use(Card);

    Vue.use(Loading.directive);

    Vue.prototype.$loading = Loading.service;
    Vue.prototype.$msgbox = MessageBox;
    Vue.prototype.$alert = MessageBox.alert;
    Vue.prototype.$confirm = MessageBox.confirm;
    Vue.prototype.$prompt = MessageBox.prompt;
    Vue.prototype.$notify = Notification;
    Vue.prototype.$message = Message;
}